package cn.yfj.basic.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data //编译自动生成get，set
@NoArgsConstructor //无参构造
@AllArgsConstructor //有参构造
public class PageList<T> {
    private Long total;
    private List<T> rows = new ArrayList<>();
}
